package com.virgo.demo.support.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.virgo.demo.support.domain.OperationLogDo;
import com.virgo.demo.support.domain.vo.OperationLogVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface OperationLogMapper extends BaseMapper<OperationLogDo> {

    /**
     * 统计条数
     * @param params HashMap<String, Object>
     * @return Long
     */
    Long countRows(HashMap<String, Object> params);

    /**
     * 查询列表
     * @param params HashMap<String, Object>
     * @return List<OperationLogVo>
     */
    List<OperationLogVo> queryRows(HashMap<String, Object> params);
}